% Things to do in Tex
        % 1. put \rlap{} around Observations and clusters so they don't line up w/ decimal
        % 2. Add the scalebox to reduce size
        % 3. Standardize column width after \begin{tabular}
        % 4. Move up the \end{center}
        % 5. Add a \midrule before controls
        % 6. Add rows for interacted controls
        % 7. Add rows for complete labels

\begin{table}[h]
\caption{Heterogeneous Treatment Effects - Rebel Presence (with Controls)}
\begin{center}
\begin{threeparttable}
\scalebox{.8}{
\begin{tabular}{l@{} D{.}{.}{3.5}@{} D{.}{.}{3.5}@{} D{.}{.}{3.5}@{} D{.}{.}{3.5}@{} D{.}{.}{3.5}@{} D{.}{.}{3.5}@{} D{.}{.}{3.5}@{} D{.}{.}{3.5}@{} D{.}{.}{3.5}@{}}
\toprule
 & \multicolumn{3}{c}{} & \multicolumn{1}{c}{Trust} & \multicolumn{1}{c}{Trust} & \multicolumn{1}{c}{Trust} & \multicolumn{1}{c}{Trust} & \multicolumn{2}{c}{Perceived} \\

 & \multicolumn{3}{c}{Trust Index} & \multicolumn{1}{c}{(Safe)} & \multicolumn{1}{c}{(Intent)} & \multicolumn{1}{c}{(Info)} & \multicolumn{1}{c}{Idx (alt)} & \multicolumn{2}{c}{NPA Sympathy} \\
\cmidrule(lr){2-4} \cmidrule(lr){5-5} \cmidrule(lr){6-6} \cmidrule(lr){7-7} \cmidrule(lr){8-8} \cmidrule(lr){9-10}
 & \multicolumn{1}{c}{(1)} & \multicolumn{1}{c}{(2)} & \multicolumn{1}{c}{(3)} & \multicolumn{1}{c}{(4)} & \multicolumn{1}{c}{(5)} & \multicolumn{1}{c}{(6)} & \multicolumn{1}{c}{(7)} & \multicolumn{1}{c}{(8)} & \multicolumn{1}{c}{(9)} \\
\midrule
Treated                & 0.04        & 0.01        & 16.23^{*}  & 0.20        & 1.38         & -0.03       & 0.03        & -4.15      & -5.91^{**} \\
                       & (0.08)      & (0.08)      & (9.07)     & (1.85)      & (1.89)       & (1.71)      & (0.07)      & (2.55)     & (2.51)     \\
NPA Presence 2015      & -0.32       & -0.38^{*}   & -0.44^{*}  & -17.53^{**} & -6.73        & -6.63^{**}  & -0.38^{*}   & 4.03       & 2.41       \\
                       & (0.21)      & (0.20)      & (0.21)     & (6.12)      & (5.22)       & (2.80)      & (0.20)      & (7.46)     & (6.67)     \\
Treated*NPA            & -0.37^{***} & -0.33^{***} & -0.35      & -9.62^{***} & -11.16^{***} & -1.81       & -0.31^{***} & 8.15       & 10.64      \\
                       & (0.09)      & (0.08)      & (0.22)     & (3.20)      & (2.57)       & (2.27)      & (0.08)      & (7.72)     & (7.59)     \\
\midrule                       
Base Outcome           & 0.35^{***}  & 0.31^{***}  & 0.32^{***} & 0.27^{***}  & 0.29^{***}   & 0.20^{***}  & 0.31^{***}  & 0.38^{***} & 0.40^{***} \\
                       & (0.05)      & (0.05)      & (0.06)     & (0.05)      & (0.07)       & (0.04)      & (0.06)      & (0.04)     & (0.04)     \\
Education (mun)        & 1.27        & 1.32        & 1.55       & 34.23       & 28.25        & 36.39^{**}  & 1.29        & -2.99      & -13.59     \\
                       & (0.85)      & (0.83)      & (0.91)     & (27.23)     & (21.65)      & (12.75)     & (0.82)      & (35.02)    & (34.47)    \\
Population (mun)       & -0.00       & -0.00       & -0.00^{*}  & -0.00^{*}   & -0.00        & -0.00^{**}  & -0.00       & 0.00       & 0.00       \\
                       & (0.00)      & (0.00)      & (0.00)     & (0.00)      & (0.00)       & (0.00)      & (0.00)      & (0.00)     & (0.00)     \\
Household Size (mun)   & 1.52^{***}  & 1.68^{***}  & 2.34^{***} & 46.71^{***} & 43.78^{***}  & 32.92^{***} & 1.67^{***}  & -10.27     & -10.04     \\
                       & (0.50)      & (0.49)      & (0.55)     & (15.39)     & (11.53)      & (7.81)      & (0.49)      & (16.74)    & (15.90)    \\
Percent Catholic (mun) & 3.11        & 5.30        & 5.11       & -27.34      & 262.27^{**}  & 117.32      & 5.46        & -248.03    & -136.22    \\
                       & (5.39)      & (5.11)      & (5.52)     & (187.11)    & (123.18)     & (100.84)    & (5.14)      & (265.16)   & (245.20)   \\
Crime Rate (mun)       & -0.19       & -0.22       & -0.19      & -7.76       & -7.55        & -3.66       & -0.22       & 7.68       & 6.79       \\
                       & (0.28)      & (0.29)      & (0.34)     & (8.52)      & (6.20)       & (5.60)      & (0.29)      & (8.24)     & (6.78)     \\
\midrule                       
Rank (officer)         & 0.23^{**}   & 0.09        & -0.01      & 3.37        & 0.66         & 1.80        & 0.07        & 3.42       & -3.15      \\
                       & (0.09)      & (0.10)      & (0.12)     & (2.41)      & (3.09)       & (2.49)      & (0.10)      & (2.51)     & (2.59)     \\
Education (officer)    &             & -0.05       & -0.02      & -2.99       & -1.51        & -0.23       & -0.04       & 1.96       &            \\
                       &             & (0.07)      & (0.08)     & (2.82)      & (2.17)       & (1.02)      & (0.08)      & (1.35)     &            \\
Catholic (officer)     &             & 0.02        & 0.13       & 1.32        & -0.78        & -0.75       & -0.02       & 0.05       &            \\
                       &             & (0.15)      & (0.18)     & (3.45)      & (2.56)       & (3.44)      & (0.13)      & (5.55)     &            \\
Age (officer)          &             & 0.01        & 0.02^{**}  & 0.15        & 0.24         & 0.25        & 0.01        & -0.49^{*}  &            \\
                       &             & (0.01)      & (0.01)     & (0.17)      & (0.20)       & (0.18)      & (0.01)      & (0.25)     &            \\
Gender (officer)       &             & -0.03       & -0.02      & -1.97       & -1.15        & 0.62        & -0.03       & -0.24      &            \\
                       &             & (0.07)      & (0.07)     & (2.40)      & (1.46)       & (1.71)      & (0.07)      & (2.78)     &            \\
Years Served (officer) &             & 0.01        & 0.01       & 0.48^{*}    & 0.26         & 0.19        & 0.01        & -0.47      &            \\
                       &             & (0.01)      & (0.01)     & (0.23)      & (0.26)       & (0.18)      & (0.01)      & (0.33)     &            \\
Commute (officer)      &             & 0.00        & -0.01      & 0.05        & -0.44        & 0.05        & 0.00        & 1.42       &            \\
                       &             & (0.02)      & (0.03)     & (0.75)      & (0.43)       & (0.37)      & (0.02)      & (0.99)     &            \\
PSM (officer)          &             & 0.23^{***}  & 0.19^{*}   & 4.41        & 3.60^{**}    & 9.27^{***}  & 0.21^{**}   & -6.70^{**} &            \\
                       &             & (0.07)      & (0.10)     & (2.74)      & (1.53)       & (2.31)      & (0.08)      & (2.34)     &            \\
\midrule
Controls Interacted           & \rlap{No   } & \rlap{No   } & \rlap{Yes  } & \rlap{No   } & \rlap{No    } & \rlap{No   } & \rlap{No   } & \rlap{No}        & \rlap{No }       \\
R$^2$                  & 0.20        & 0.22        & 0.24       & 0.17        & 0.19         & 0.17        & 0.22        & 0.20       & 0.17       \\
Observations           & \rlap{612   } & \rlap{603   } & \rlap{603  } & \rlap{625   } & \rlap{617    } & \rlap{618   } & \rlap{623   } & \rlap{625}        & \rlap{636 }       \\
Clusters               & \rlap{18}          & \rlap{18}          & \rlap{18}         & \rlap{18}          & \rlap{18}           & \rlap{18}          & \rlap{18}          & \rlap{18}         & \rlap{18}         \\
\bottomrule
\end{tabular}}
\end{center}
\begin{tablenotes}[flushleft]
\scriptsize{\item \sym{*} \(p<.10\), \sym{**} \(p<.05\), \sym{***} \(p<.01\)} 
\item Models in this table use the panel specification denoted in equation 1 and include a dummy variable for missing baseline. Models do not include station fixed effects because NPA Presence is measured at the municipality (station) level. Standard errors are clustered at the station-level.}
\end{tablenotes}
\end{threeparttable}
\label{tab:HetEffects_NPA_wControl}
\end{table}
